package com.portal.innovation.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("news")
public class News {


    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;
    private String content;
    private String admin;
    private Date publishTime;
    private Boolean status;
    private Integer visitNum;
    private String cover;
}
